<template>
  <section id="cooperation" class="cooperation">
    <div class="container">
      <div class="section-header">
        <h2 class="section-title">校企合作</h2>
        <p class="section-subtitle">携手高校，共同培养AI时代的技术人才</p>
      </div>
      
      <div class="cooperation-grid">
        <div class="cooperation-card">
          <div class="cooperation-icon">
            <i class="fas fa-graduation-cap"></i>
          </div>
          <h4>高校合作项目</h4>
          <p>通过勋章系统为高校提供学分置换，帮助学生积累实战经验，培养实用型人才。</p>
        </div>
        <div class="cooperation-card">
          <div class="cooperation-icon">
            <i class="fas fa-handshake"></i>
          </div>
          <h4>政府补贴</h4>
          <p>申报数字人才培训补贴，按认证开发者数量申请，获得政策支持。</p>
        </div>
        <div class="cooperation-card">
          <div class="cooperation-icon">
            <i class="fas fa-users"></i>
          </div>
          <h4>人才输送</h4>
          <p>为企业输送经过实战验证的AI技术人才，建立人才供需桥梁。</p>
        </div>
        <div class="cooperation-card">
          <div class="cooperation-icon">
            <i class="fas fa-chart-line"></i>
          </div>
          <h4>数据驱动</h4>
          <p>基于平台数据分析，为高校提供人才培养效果评估和改进建议。</p>
        </div>
        <div class="cooperation-cta">
        <h3>开启校企合作新篇章</h3>
        <p>我们诚邀各大高校与我们建立合作关系，共同推动AI人才培养事业的发展</p>
        <button class="btn btn-primary" @click="scrollToContact">
          <i class="fas fa-envelope"></i>
          联系我们
        </button>
      </div>

      </div>
      
     
    </div>
  </section>
</template>

<script>
export default {
  name: 'CooperationSection',
  methods: {
    scrollToContact() {
      const element = document.getElementById('contact')
      if (element) {
        element.scrollIntoView({ behavior: 'smooth' })
      }
    }
  }
}
</script>

<style scoped>
.cooperation {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.cooperation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #00d4ff 0%, #5b73e8 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 80px;
}

.cooperation-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.cooperation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(91, 115, 232, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cooperation-card:hover::before {
  opacity: 1;
}

.cooperation-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.cooperation-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #00d4ff 0%, #5b73e8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cooperation-icon i {
  font-size: 2rem;
  color: white;
}

.cooperation-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cooperation-card p {
  color: #d1d5db;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cooperation-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem 2rem;
  backdrop-filter: blur(10px);
}

.cooperation-cta h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cooperation-cta p {
  font-size: 1.1rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #00d4ff 0%, #5b73e8 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 212, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .cooperation {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .cooperation-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 60px;
  }
  
  .cooperation-card {
    padding: 2rem 1.5rem;
  }
  
  .cooperation-cta {
    padding: 2rem 1.5rem;
  }
  
  .cooperation-cta h3 {
    font-size: 1.5rem;
  }
}
</style>
